import Request from './request.js';

const Route = {
	// 电影
	banner_list: (data) => Request.post('/api/banner_list', data), //轮播
	city_list: (data) => Request.post('/api/city_list', data), //城市列表
	district_list: (data) => Request.post('/api/district_list', data), //区县列表
	city_find: (data) => Request.post('/api/city_info', data), //根据城市名查找城市ID
	district_find: (data) => Request.post('/api/district_info', data), //根据区县名查找区县ID
	movie_list: (data) => Request.post('/api/movie_list', data), //获取热映预售电影列表
	movie_cinema_list: (data) => Request.post('/api/movie/cinema_list', data), //包含某电影的影院列表
	movie_date: (data) => Request.post('/api/movie/date', data), //包含某电影的日期
	schedule_list: (data) => Request.post('/api/schedule_list', data), //场次
	seat_list: (data) => Request.post('/api/seat_list', data), //座位
	search_list: (data) => Request.post('/api/search_list', data), //搜索列表
	cinema_list: (data) => Request.post('/api/cinema_list', data), //影院列表
	movie_info: (data) => Request.post('/api/movie_info', data), //搜索列表

	// 用户
	login_wechat_openid: (data) => Request.post('/api/login/wechat/openid', data), //获取openid
	login_wechat_userinfo: (data) => Request.post('/api/login/wechat/userinfo', data), //微信小程序登陆注册
	login_wechat_phone: (data) => Request.post('/api/login/wechat/phone', data), //微信小程序登陆注册
	user_team_1: (data) => Request.post('/api/user/team_direct_list', data), //直推队员
	user_team_2: (data) => Request.post('/api/user/team_indirect_list', data), //间推队员
	user_team_3: (data) => Request.post('/api/user/team_order_list', data), //团队订单
	poster_QRcode_wechat: (data) => Request.post('/api/user/poster_qrcode_wechat', data), //获取微信小程序二维码
	poster_list: (data) => Request.post('/api/user/poster_list', data), //海报列表

	//支付
	pay: (data) => Request.post('/api/pay', data), //订单列表
	order_list: (data) => Request.post('/api/pay/order_list', data), //订单列表
	order_info: (data) => Request.post('/api/pay/order_info', data), //订单详情
	order_del: (data) => Request.post('/api/pay/order_del', data), //订单删除
	income_info: (data) => Request.post('/api/pay/income_info', data), //收益报表
	wallet_inco: (data) => Request.post('/api/pay/wallet', data), //钱包
	cashout: (data) => Request.post('/api/pay/cashout', data), //钱包
	cashout_list: (data) => Request.post('/api/pay/cashout_list', data), //钱包

	// 抽奖
	wheel_prize_info: (data) => Request.post('/api/lottery/wheel/prize_info', data), //查找今日是否抽奖
	wheel_prize_list: (data) => Request.post('/api/lottery/wheel/prize_list', data), //转盘奖品列表
	wheel_prize_get: (data) => Request.post('/api/lottery/wheel/prize_get', data), //转盘奖品列表
	lottery_order: (data) => Request.post('/api/lottery/lottery_order', data), //转盘奖品列表
	cdk: (data) => Request.post('/api/lottery/cdk', data), //转盘奖品列表
	// 反馈
	feedback: (data) => Request.post('/api/feedback', data), //意见反馈


};

module.exports = Route;
